import QtQuick 2.14
import QtQuick.Window 2.14
import QtQuick.Controls 2.14

Window {
    visible: true
    width: 1600
    height: 980
    minimumHeight: 980
    minimumWidth: 1600
    color: "#000000"
    title: qsTr("Image Thumbnail Tools v0.0.1  [author: zyb920@hotmail.com]")

    SplitView {
        anchors.fill: parent
        orientation: Qt.Horizontal
        ThumbnailBar {
            id: thmub_bar
            SplitView.minimumWidth: 600
            onLoadPath: {
                img_tools.showImage(file)
            }
        }

        ImageTools {
            id: img_tools
            SplitView.minimumWidth: 680
            onPreImage: thmub_bar.preImage()
            onNextImage: thmub_bar.nextImage()
            onSigCopy: thmub_bar.doCopy()
        }
    }

}
